<?php
/* * **************************************************************************************\
 * *   @name		EXP Templates 1.0                                               **
 * *   @package          Joomla 1.6/1.7/2.5                                              **
 * *   @author		EXP TEAM::Alexey Kurguz (Grusha)                                **
 * *   @copyright	Copyright (C) 2005 - 2012  EXP TEAM::Alexey Kurguz (Grusha)     **
 * *   @link             http://www.feellove.eu                                          **
 * *   @license		Commercial License                                              **
  \*************************************************************************************** */
// No direct access.
defined('_JEXEC') or die;
$app = JFactory::getApplication();
$templateparams = $app->getTemplate(true)->params;
if ($templateparams->get('bootstrap')) {
    $bootstrap = $templateparams->get('bootstrap');
} else {
    $bootstrap = 'bootstrap.css';
}
if ($templateparams->get('expbootstrap')) {
    $expbootstrap = $templateparams->get('expbootstrap');
} else {
    $expbootstrap = 'expbootstrap.css';
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
    <head>
        <jdoc:include type="head" />
        <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
        <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/position.css" type="text/css" />
        <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/layout.css" type="text/css" media="screen,projection" />
        <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/print.css" type="text/css" media="Print" />
        <?php
        $files = JHtml::_('stylesheet', 'templates/' . $this->template . '/css/general.css', null, false, true);
        if ($files):
            if (!is_array($files)):
                $files = array($files);
            endif;
            foreach ($files as $file):
                ?>
                <link rel="stylesheet" href="<?php echo $file; ?>" type="text/css" />
                <?php
            endforeach;
        endif;
        ?>
    </head>
    <body class="contentpane">
        <div id="main">
            <jdoc:include type="message" />
            <jdoc:include type="component" />
        </div>
    </body>
</html>
